<!--头部固定区-->
<style type="text/css">
	#header .header_content .logined a{
		font: 400 14px/50px "微软雅黑";
	}
</style>
		<div id="header_fixed"></div>
		<div id="header">
			<div class="header_content">
				<div class="logo"><img src="__CONTROLLER_VIEW__/images/logo.png" alt="" /></div>
				<?php if(!isset($_SESSION['username'])): ?>
				<div class="login">
					<!--<a href=""><span></span></a>-->
					<a href="{|U:('Index/Register/index')}">注册</a>
					<a href="{|U:('Index/Login/index')}">登录</a>
				</div>
				<?php else:  ?>
				<!--已登录begin-->
				<div class="logined">
					<a href="{|U:'out'}">退出</a>
					<a href="{|U:'Index/Orders/myOrder'}">我的订单</a>
					<a href="{|U:'Index/Carts/index'}">购物车</a>
					<a href="{|U:'Index/User/index'}"><?php echo $_SESSION['nick'] ?></a>
					<a href="{|U:'Index/Orders/myOrder'}" class="face"><img src="__ROOT__/{$face}" alt="" /></a>
				</div>
				<!--已登录end-->
				<?php endif  ?>
			</div>
		</div>
		<!--头部end-->
		<!--菜单栏begin-->
		<div id="nav">
			<div class="nav_content">
				<a href="{|U:'Index/Index/index'}">首页</a>
				<foreach from="$navData" key="$k" value="$v">
				<a href="{|U:'Index/List/index',array('cid'=>$v[cid])}">{$v.cname}</a>
				</foreach>
				<div class="search">
					<form action="{|U:'Index/Search/index'}" method="get">
						<input type="text" class="text" name="keys" placeholder="搜索" />
						<input type="submit" class="sbt" value=""/>
					</form>
				</div>
			</div>
		</div>
		<!--菜单栏end-->